Manipulating Redirected and Diverted Numbers for Call Diversion

You can configure manipulation rules to manipulate the Diverted-to and Diverting numbers received in the incoming Call Redirection Facility message for call diversion, which is interworked to outgoing SIP 302 responses.

This feature is applicable only to the Gateway application - Euro ISDN and QSIG variants in the IP-to-Tel call direction.

The incoming redirection Facility message includes, among other parameters, the Diverted-to number and Diverting number. The Diverted-to number (i.e., new destination) is mapped to the user part in the Contact header of the SIP 302 response. The Diverting number is mapped to the user part in the Diversion header of the SIP 302 response. These two numbers can be manipulated by entering the following special strings in the 'Destination Phone Pattern' field of the Redirect Number Tel-to-IP table:

"RN" - used in the rule to manipulate the Redirected number (i.e., originally called number or Diverting number).
"DN" - used in the rule to manipulate the Diverted-to number (i.e., the new called number or destination). This manipulation is done on the user part in the Contact header of the SIP 302 response.

For example, assume the following required manipulation:

Manipulate Redirected number 6001 (originally called number) to 6005
Manipulate Diverted-to number 8002 (the new called number or destination) to 8005

The configuration in the Redirect Number Tel-to-IP table is as follows:

Redirect Number Configuration Example

Parameter

Rule 1

Rule 2

Destination Phone Pattern

RN

DN

Redirect Phone Pattern

6

8

Stripped Digits From Right

1

1

Suffix to Add

5

5

Number of Digits to Leave

5

-

After the above manipulation is done, the device sends the following outgoing SIP 302 response:

SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/TLS 10.33.45.68;branch=z9hG4bKac54132643;alias
From: "MP118 1" <sip:8001@10.33.45.68>;tag=1c54119560
To: <sip:6001@10.33.45.69;user=phone>;tag=1c664560944
Call-ID: 541189832710201115142@10.33.45.68
CSeq: 1 INVITE
Contact: <sip:8005@10.33.45.68;user=phone>
Supported: em,timer,replaces,path,early-session,resource-priority
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
Diversion: <tel:6005>;reason=unknown;counter=1
Server: Sip-Gateway/7.40A.600.203
Reason: SIP ;cause=302 ;text="302 Moved Temporarily"
Content-Length: 0